package com.wisdytech.linkdcs.equipLifeCycle.maintain.service;


import com.github.pagehelper.PageInfo;
import com.wisdytech.common.bean.Filter;
import com.wisdytech.linkdcs.equipLifeCycle.maintain.dto.MaintenanceMonthDTO;
import com.wisdytech.linkdcs.equipLifeCycle.maintain.dto.MaintenancePlanInteriDTO;
import com.wisdytech.linkdcs.equipLifeCycle.maintain.dto.MaintenanceTaskDTO;
import com.wisdytech.linkdcs.equipLifeCycle.maintain.model.MaintenanceTask;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chenbin
 * @since 2018-06-13
 */
public interface IMaintenanceTaskService{
    /**
     * 分页条件查询保养任务
     * @param taskDTO 备件名称
     * @param filter 分页参数
     * @return 保养任务列表信息
     */
	PageInfo<MaintenanceTask> listTaskByFilter(MaintenanceTaskDTO taskDTO, Filter filter,String loginName);
    /**
     * <p>Description: 保存保养临时任务</p> 
     * @param maintenancePlanInteriDTO 临时保养任务
     * @return 处理结果对象
     */
	void addPlanInteri(MaintenancePlanInteriDTO maintenancePlanInteriDTO, String loginName);

	PageInfo<MaintenanceTask> listTaskConfirmByFilter(MaintenanceTaskDTO taskDTO, Filter filter, String loginName);
	PageInfo<MaintenanceTask> listMonthTaskByFilter(MaintenanceMonthDTO dto, Filter filter);
	void updateNextDate(String pkId, String n_nextDate);

}
